//
//  MineVC.swift
//  我的
//
//  Created by 千策万划-mini on 2025/4/28.
//

import Foundation

class MineVC: BaseTableVC {
    
    // MARK: - lazy
    lazy var viewNav: BaseNavView = {
        let result = BaseNavView()
        result.resetNavTitle(title: "My", leftView: nil, rightView: nil)
        result.leftTop = XY(0, 0)
        return result
    }()
    lazy var viewContent: MineContentView = {
        let result = MineContentView()
        return result
    }()
    
    // MARK: - viewDidLoad
    override func viewDidLoad() {
        super.viewDidLoad()
        configUI()
    }
    
    func configUI() {
        viewBg.backgroundColor = COLOR_BACKGROUND
        tableView.backgroundColor = .clear
        tableHeaderBackgroundView.backgroundColor = .clear
        view.addSubview(viewNav)
        tableView.height = SCREEN_HEIGHT-viewNav.bottom-86
        tableView.top = viewNav.bottom
        tableView.tableHeaderView = viewContent
    }
}
